package com.qef.com.mmovie.base;

import android.app.Activity;

import com.qef.com.mmovie.di.PerFragment;
import com.qef.com.mmovie.di.component.AppComponent;
import com.qef.com.mmovie.di.module.FragmentModule;
import com.qef.com.mmovie.fragment.LoginFragment;
import com.qef.com.mmovie.fragment.SubscriptionDetailsFragment;
import com.qef.com.mmovie.fragment.SubscriptionFragment;
import com.qef.com.mmovie.fragment.VideoFragment;
import com.qef.com.mmovie.fragment.VideoHomeFragment;
import com.qef.com.mmovie.fragment.laugh_img.LaughImgDetailFragment;
import com.qef.com.mmovie.fragment.laugh_img.LaughImgHomeFragment;
import com.qef.com.mmovie.fragment.video_jc.VideoTopHomeFragment;

import dagger.Component;

/**
 * Created by guangjiego on 2017/3/21.
 */
@PerFragment
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {
    Activity getActivity();

    void inject(VideoHomeFragment videoFragment);

    void inject(VideoTopHomeFragment videoFragment);

    void inject(LaughImgHomeFragment laughImgHomeFragment);

    void inject(LaughImgDetailFragment laughImgDetailFragment);

    void inject(LoginFragment loginFragment);

    void inject(SubscriptionDetailsFragment loginFragment);
}
